package com.hd.day03;

public class SelectName {
    public static void main(String[] args) {
        String[] strarr = {"张三", "赵六", "李四", "王五"};

        int a = (int) (Math.random() * strarr.length);
        System.out.println(strarr.length);
        System.out.println(Math.random());
        System.out.println(a);
        System.out.println(strarr[a]);

    }
}
